import Vue from 'vue'
import Router from 'vue-router'
import Admin from '@/admin/components/index'
import AMatch from '@/admin/components/AMatch'

Vue.use(Router)

export default new Router({
  routes: [
    {
        path: '/',
        name: 'admin',
        component: Admin,
        children: [
            {
                path: '/',
                component: AMatch
            },
            {
                path: 'match',
                component: AMatch
            },
        ]
    }
  ]
})
